Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Handling Edit Commands


Q3ViewerClear

You can use the Q3ViewerClear function to handle the Clear editing command when applied to data selected in a viewer object.

OSErr Q3ViewerClear (TQ3ViewerObject theViewer);
theViewer
A viewer object.
DESCRIPTION
The Q3ViewerClear function clears the data currently selected in the viewer object specified by the theViewer parameter. No data is copied onto the Clipboard. You should call Q3ViewerClear when the user chooses the Clear command in your application's Edit menu (or types the appropriate keyboard equivalent) and the selected data is inside a viewer pane.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996